﻿using System.Windows;
using System.Windows.Controls;

namespace Red.Controls.TimeLine.TrackItemsControls
{
    public class Bar : Control
    {
        static Bar()
        {
            DefaultStyleKeyProperty.OverrideMetadata( typeof( Bar ), new FrameworkPropertyMetadata( typeof( Bar ) ) );
        }

        public string Header
        {
            get { return (string)GetValue( HeaderProperty ); }
            set { SetValue( HeaderProperty, value ); }
        }

        public static readonly DependencyProperty HeaderProperty =
            DependencyProperty.Register( "Header", typeof( string ), typeof( Bar ), 
                new PropertyMetadata( string.Empty ) );
    }
}
